package com.anysoft.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;

/**
 * Created by lty on 2018/3/21.
 */

public class TaxPayerInfo implements Serializable, MultiItemEntity {

    public static final int TAX_NO_OBTAIN = 1; //取得纳税人识别号
    public static final int TAX_OBTAIN = 2; //未取得纳税人识别号
    private String taxPayerCountryId;//税收居民国Id
    private String taxPayerCountry;//税收居民国
    private boolean taxPayerSwitchStatus; //是否取得纳税人识别号标识
    private String taxNum; //纳税人识别号
    private boolean taxNoobtain1 = true; //不发放纳税人识别号,默认  后台的数据 0-居民国不发放纳税人识别号, 1-其他原因
    private boolean taxNoobtain2 = false;  //未取得纳税人识别号
    private String taxCauseDesc;  //原因描述
    private int itemType;
    private String taxPosition;

    public TaxPayerInfo() {
    }

    public TaxPayerInfo(int itemType) {
        this.itemType = itemType;
    }

    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public boolean isTaxPayerSwitchStatus() {
        return taxPayerSwitchStatus;
    }

    public void setTaxPayerSwitchStatus(boolean taxPayerSwitchStatus) {
        this.taxPayerSwitchStatus = taxPayerSwitchStatus;
    }

    public String getTaxPayerCountryId() {
        return taxPayerCountryId == null ? "" : taxPayerCountryId;
    }

    public void setTaxPayerCountryId(String taxPayerCountryId) {
        this.taxPayerCountryId = taxPayerCountryId;
    }

    public String getTaxPayerCountry() {
        return taxPayerCountry;
    }

    public void setTaxPayerCountry(String taxPayerCountry) {
        this.taxPayerCountry = taxPayerCountry;
    }

    public String getTaxNum() {
        return taxNum;
    }

    public void setTaxNum(String taxNum) {
        this.taxNum = taxNum;
    }

    public boolean isTaxNoobtain1() {
        return taxNoobtain1;
    }

    public void setTaxNoobtain1(boolean taxNoobtain1) {
        this.taxNoobtain1 = taxNoobtain1;
    }

    public boolean isTaxNoobtain2() {
        return taxNoobtain2;
    }

    public void setTaxNoobtain2(boolean taxNoobtain2) {
        this.taxNoobtain2 = taxNoobtain2;
    }

    public String getTaxCauseDesc() {
        return taxCauseDesc;
    }

    public void setTaxCauseDesc(String taxCauseDesc) {
        this.taxCauseDesc = taxCauseDesc;
    }

    public String getTaxPosition() {
        return taxPosition;
    }

    public void setTaxPosition(String taxPosition) {
        this.taxPosition = taxPosition;
    }

    @Override
    public String toString() {
        return "TaxPayerInfo{" +
                "taxPayerCountry='" + taxPayerCountry + '\'' +
                ", taxPayerSwitchStatus=" + taxPayerSwitchStatus +
                ", taxNum='" + taxNum + '\'' +
                ", taxNoobtain1=" + taxNoobtain1 +'\'' +
                ", taxNoobtain2=" + taxNoobtain2 +'\'' +
                ", taxCauseDesc='" + taxCauseDesc + '\'' +
                ", itemType=" + itemType +'\'' +
                ", taxPosition=" + taxPosition +
                '}';
    }
}
